"""
# encoding: utf-8
@author: miaoyw
运算符应用
=    简单的赋值运算符    c = a + b 将 a + b 的运算结果赋值为 c
+=    加法赋值运算符    c += a 等效于 c = c + a
-=    减法赋值运算符    c -= a 等效于 c = c - a
*=    乘法赋值运算符    c *= a 等效于 c = c * a
/=    除法赋值运算符    c /= a 等效于 c = c / a
%=    取模赋值运算符    c %= a 等效于 c = c % a
**=    幂赋值运算符    c **= a 等效于 c = c ** a
//=    取整除赋值运算符    c //= a 等效于 c = c // a
"""
print("加法:" +str(2+3))
print("乘法:" +str(2*3))
print("减法:" +str(2-1))
print("除法:" +str(2/2))
print("求余:" +str(2%2))
print("取商:" +str(9//2))
print("取幂:" +str(2**4)) 

#比较运算符
str1="hahah"
str2="o(^▽^)o"
print(" == " + str(1==1))
print(" != " + str(1!=1))

#is is not
if(str1 is not str2):
    print("is 比较运算符：")
    print("哈哈哈")
else:
    print("is 不相等")
    print("哈哈哈")
